package com.itasura.builder.bike;

/**
 * @author sailor wang
 * @date 2020/6/30 7:25 PM
 * @description
 */
public class MobikeBike extends Builder {
    private Bike bike = new Bike();
    @Override
    void buildFrame() {
        bike.setiFrame(new AlloyFrame());
    }

    @Override
    void buildSeat() {
        bike.setiSeat(new SolidSeat());
    }

    @Override
    void buildTire() {
        bike.setiTire(new SolidTire());
    }

    @Override
    Bike createBike() {
        return bike;
    }
}